package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pubinfo.passbook.common.entity.TRabbitmqOrgConvert;
import com.pubinfo.passbook.common.model.vo.OrgRole;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhouch
 * @date 2021-10-28
 */
public interface TRabbitmqOrgConvertMapper extends BaseMapper<TRabbitmqOrgConvert> {
  
  TRabbitmqOrgConvert getOrgTreeRoot();
  
  List<OrgRole> findOrgByOrgName(String orgBizName);
  
  Integer getOrgIdByOrgName(String orgName);
  
}
